package com.zjz.service.user;


import com.zjz.pojo.User;

import java.sql.Connection;
import java.util.List;

public interface UserService {
    //用户登录
    public User login(String userCode, String password);

    //根据用户id修改密码
    public Boolean updatePsd(int id ,String pwd);

    // 查询记录数
    public int getUserCount(String username, int userRole);

    // 通过条件查询-userList
    public List<User> getUserList(String querryUserName, int querryUserRole, int currentPageNo, int pageSize);

}
